package com.carlosk.kandicar.domain.http;

import java.util.ArrayList;

/**
 * 草稿的对象
 * 
 * @author carlos carlosk@163.com
 * @version 创建时间：2014年5月25日 下午2:03:50
 */

public class TaskDraftDomain {
	public static class TaskDraftDepartments {
		private String name;

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		@Override
		public String toString() {
			return "TaskDraftDepartments [name=" + name + "]";
		}

	}

	private TaskDocDocument document;
	private ArrayList<TaskDocFileDomain> fileList;
	private ArrayList<TaskDocTopDomain> topList;
	private ArrayList<TaskDraftDepartments> departments;
	// 以下是可写的
	private String propertyIds;
	private Processinstance processinstance;
	private ArrayList<TaskDocNode> nodeList;
	private ArrayList<TaskDocNode> backNodeList;
	private TaskDocNode flowNode;
	private TaskDocNode node;

	public String getPropertyIds() {
		return propertyIds;
	}

	public void setPropertyIds(String propertyIds) {
		this.propertyIds = propertyIds;
	}

	public Processinstance getProcessinstance() {
		return processinstance;
	}

	public void setProcessinstance(Processinstance processinstance) {
		this.processinstance = processinstance;
	}

	public ArrayList<TaskDocNode> getNodeList() {
		return nodeList;
	}

	public void setNodeList(ArrayList<TaskDocNode> nodeList) {
		this.nodeList = nodeList;
	}

	public ArrayList<TaskDocNode> getBackNodeList() {
		return backNodeList;
	}

	public void setBackNodeList(ArrayList<TaskDocNode> backNodeList) {
		this.backNodeList = backNodeList;
	}

	public TaskDocNode getFlowNode() {
		return flowNode;
	}

	public void setFlowNode(TaskDocNode flowNode) {
		this.flowNode = flowNode;
	}

	public ArrayList<TaskDocTopDomain> getTopList() {
		return topList;
	}

	public void setTopList(ArrayList<TaskDocTopDomain> topList) {
		this.topList = topList;
	}

	public ArrayList<TaskDraftDepartments> getDepartments() {
		return departments;
	}

	public void setDepartments(ArrayList<TaskDraftDepartments> departments) {
		this.departments = departments;
	}

	public ArrayList<TaskDocFileDomain> getFileList() {
		return fileList;
	}

	public void setFileList(ArrayList<TaskDocFileDomain> fileList) {
		this.fileList = fileList;
	}

	public TaskDocDocument getDocument() {
		return document;
	}

	public void setDocument(TaskDocDocument document) {
		this.document = document;
	}

	public TaskDocNode getNode() {
		return node;
	}

	public void setNode(TaskDocNode node) {
		this.node = node;
	}

	@Override
	public String toString() {
		return "TaskDraftDomain [document=" + document + ", fileList="
				+ fileList + ", topList=" + topList + ", propertyIds="
				+ propertyIds + ", processinstance=" + processinstance
				+ ", nodeList=" + nodeList + ", backNodeList=" + backNodeList
				+ ", flowNode=" + flowNode + ", node=" + node + "]";
	}

}
